package com.iRomantic.controller.manager;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.iRomantic.common.BaseController;
import com.iRomantic.controller.app.UserAPPController;
import com.iRomantic.domain.entity.User;
import com.jfinal.plugin.activerecord.Page;

public class UserController extends BaseController {
	
	private static final Logger logger = LoggerFactory.getLogger(UserAPPController.class);
	
	public void list(){
		Page<User> page = User.DAO.paginate(1, 10, " select * ", " from t_user ");
		this.setAttr("page", page);
		this.renderWebJsp("manager/user/list.jsp");
	}

}
